﻿using System;
using DemoWindowsPhoneMvp.Logic.Views.Main;
using WindowsPhoneMvp;

namespace DemoWindowsPhoneMvp.Logic.Views.Third
{
    public class ThirdViewPresenter : Presenter<IView<ThirdViewModel>, ThirdViewModel>
    {
        public ThirdViewPresenter(IView<ThirdViewModel> view)
            : base(view)
        {
            View.Load += View_Load;
        }

        void View_Load(object sender, EventArgs e)
        {

        }

        public void BackToHome()
        {
            Navigate.BackToView<IMainView>();
        }
    }
}
